package com.ruoyi.member.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 家庭信息对象 families
 * 
 * @author ruoyi
 * @date 2025-03-30
 */
public class Families extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 家庭id */
    private Long id;

    /** 家庭名称 */
    @Excel(name = "家庭名称")
    private String familyName;

    /** 家庭标识，用于判断是否为同一家庭 */
    @Excel(name = "家庭标识，用于判断是否为同一家庭")
    private String identifier;

    /** 状态，1启用，0禁用 */
    @Excel(name = "状态，1启用，0禁用")
    private Long status;

    /** 软删除标识，0未删除，1已删除 */
    @Excel(name = "软删除标识，0未删除，1已删除")
    private Long isDeleted;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setFamilyName(String familyName) 
    {
        this.familyName = familyName;
    }

    public String getFamilyName() 
    {
        return familyName;
    }

    public void setIdentifier(String identifier) 
    {
        this.identifier = identifier;
    }

    public String getIdentifier() 
    {
        return identifier;
    }

    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }

    public void setIsDeleted(Long isDeleted) 
    {
        this.isDeleted = isDeleted;
    }

    public Long getIsDeleted() 
    {
        return isDeleted;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("familyName", getFamilyName())
            .append("identifier", getIdentifier())
            .append("status", getStatus())
            .append("isDeleted", getIsDeleted())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .toString();
    }
}
